package lormi.meipin.controller.api;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import lormi.meipin.common.Result;
import lormi.meipin.controller.BaseController;
import lormi.meipin.exception.LMException;

/**
 * 学校专业设置
 * */
@RestController
@RequestMapping(value="v2/specialclass",method=RequestMethod.POST,produces = "application/json; charset=utf-8")
public class SpecialClassController extends BaseController{

	/**
	 * 获取学校专业
	 * */
	@RequestMapping("list")
	public String list() throws LMException{
		
		return Result.success(specialClassService.getAll());
		
	}
	
	
}
